package com.pp.web;


import com.pp.common.constant.BasePackagesConsts;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@SpringCloudApplication
@MapperScan(BasePackagesConsts.MAPPERPATH)
@ComponentScan(value = {BasePackagesConsts.COMPONENTSCAN})//扫描包
@EnableFeignClients(basePackages = BasePackagesConsts.FEGIN_ORDER)//feign扫描路径
public class WebApplication {

	public static void main(String[] args) {
		SpringApplication.run(WebApplication.class, args);
	}

}
